-- BP 7.1.6 content: InstanceStateMachine syschar: 3 persistence-version: 7.1.6

INSERT INTO SM_ISM
	VALUES ("6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"11c5a591-fb4f-4b79-a978-4fd5a97364a5");
INSERT INTO SM_SM
	VALUES ("6bb0f7f7-f105-4738-948d-1516516f1c5f",
	'',
	0);
INSERT INTO SM_MOORE
	VALUES ("6bb0f7f7-f105-4738-948d-1516516f1c5f");
INSERT INTO SM_LEVT
	VALUES ("4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_SEVT
	VALUES ("4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_EVT
	VALUES ("4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	1,
	'create',
	0,
	'',
	'AREF1',
	'');
INSERT INTO SM_LEVT
	VALUES ("b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_SEVT
	VALUES ("b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_EVT
	VALUES ("b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	2,
	'destroy',
	0,
	'',
	'AREF2',
	'');
INSERT INTO SM_STATE
	VALUES ("3b5b108d-3017-4a04-b42b-d40bab1c6132",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	'Creating',
	1,
	0);
INSERT INTO SM_CH
	VALUES ("3b5b108d-3017-4a04-b42b-d40bab1c6132",
	"4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	'');
INSERT INTO SM_SEME
	VALUES ("3b5b108d-3017-4a04-b42b-d40bab1c6132",
	"4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_SEME
	VALUES ("3b5b108d-3017-4a04-b42b-d40bab1c6132",
	"b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_STATE
	VALUES ("339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	'Destroying',
	2,
	1);
INSERT INTO SM_CH
	VALUES ("339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	"4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	'');
INSERT INTO SM_SEME
	VALUES ("339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	"4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_CH
	VALUES ("339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	"b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000",
	'');
INSERT INTO SM_SEME
	VALUES ("339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	"b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_CRTXN
	VALUES ("482a9122-204e-4e9e-b659-6843e49e3ba5",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"4ec1f5ee-1b15-45ba-a840-6f112602d3a0",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_TXN
	VALUES ("482a9122-204e-4e9e-b659-6843e49e3ba5",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"3b5b108d-3017-4a04-b42b-d40bab1c6132",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_NSTXN
	VALUES ("0f84fcb2-2eae-46d3-a281-5992a9f4cbbe",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"3b5b108d-3017-4a04-b42b-d40bab1c6132",
	"b1db9416-e206-4ca4-89ec-ad8978d7157b",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_TXN
	VALUES ("0f84fcb2-2eae-46d3-a281-5992a9f4cbbe",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_MOAH
	VALUES ("a5ac278c-5695-45fa-b7ea-86c91c73089e",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"3b5b108d-3017-4a04-b42b-d40bab1c6132");
INSERT INTO SM_AH
	VALUES ("a5ac278c-5695-45fa-b7ea-86c91c73089e",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f");
INSERT INTO SM_ACT
	VALUES ("a5ac278c-5695-45fa-b7ea-86c91c73089e",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	1,
	'// Only create if type doesn''t exist
select many arefs from instances of AREF;
if (cardinality arefs == 1)
   create object instance type of TYPE;
   create object instance core of CORE;
   relate type to core across R401;
   type.name = "accessor reference";
   core.type = data_t::ACCESSOR_REFERENCE;
   relate core to self across R403;
   self.generateSupportedOperators();
else
   LOG::LogFailure(message:"Multiple creation of type AREF attempted!");
   generate AREF2:destroy to self;
end if;',
	'',
	0);
INSERT INTO SM_TAH
	VALUES ("cc496c0f-81c3-49aa-b9e4-52f338aea24b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"482a9122-204e-4e9e-b659-6843e49e3ba5");
INSERT INTO SM_AH
	VALUES ("cc496c0f-81c3-49aa-b9e4-52f338aea24b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f");
INSERT INTO SM_ACT
	VALUES ("cc496c0f-81c3-49aa-b9e4-52f338aea24b",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	1,
	'',
	'',
	0);
INSERT INTO SM_MOAH
	VALUES ("90838a6e-6f7c-4477-a8cb-6fd798dfdbf4",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"339b4837-b810-4ca5-a2bb-bff3a5abf8d1");
INSERT INTO SM_AH
	VALUES ("90838a6e-6f7c-4477-a8cb-6fd798dfdbf4",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f");
INSERT INTO SM_ACT
	VALUES ("90838a6e-6f7c-4477-a8cb-6fd798dfdbf4",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	1,
	'select one core related by self->CORE[R403];
if (not empty core)
  core.destroy();
  unrelate core from self across R403;
  delete object instance core;
end if;',
	'',
	0);
INSERT INTO SM_TAH
	VALUES ("76d7ca2f-73e5-4b52-8bb5-a09c2a6f3d0f",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	"0f84fcb2-2eae-46d3-a281-5992a9f4cbbe");
INSERT INTO SM_AH
	VALUES ("76d7ca2f-73e5-4b52-8bb5-a09c2a6f3d0f",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f");
INSERT INTO SM_ACT
	VALUES ("76d7ca2f-73e5-4b52-8bb5-a09c2a6f3d0f",
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	1,
	'',
	'',
	0);
INSERT INTO GD_MD
	VALUES ("e8cb5e90-c496-4f9a-b239-d2ba08082962",
	8,
	"6bb0f7f7-f105-4738-948d-1516516f1c5f",
	40,
	0,
	0,
	1,
	1,
	1,
	12,
	1,
	0,
	0,
	0,
	0,
	0,
	'4.1.17',
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Accessor Reference::Instance State Machine');
INSERT INTO GD_GE
	VALUES ("0e39decf-9444-4ad9-ae65-7b26aaabc1f0",
	"e8cb5e90-c496-4f9a-b239-d2ba08082962",
	"3b5b108d-3017-4a04-b42b-d40bab1c6132",
	41,
	0,
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Accessor Reference::Instance State Machine::Creating');
INSERT INTO GD_SHP
	VALUES ("0e39decf-9444-4ad9-ae65-7b26aaabc1f0");
INSERT INTO GD_NCS
	VALUES ("0e39decf-9444-4ad9-ae65-7b26aaabc1f0");
INSERT INTO DIM_ND
	VALUES (169.000000,
	97.000000,
	"0e39decf-9444-4ad9-ae65-7b26aaabc1f0");
INSERT INTO DIM_GE
	VALUES (4379.000000,
	3235.000000,
	"0e39decf-9444-4ad9-ae65-7b26aaabc1f0",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("0e39decf-9444-4ad9-ae65-7b26aaabc1f0",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_CON
	VALUES ("0c7bf132-1fde-4113-a5c7-0af69a08086c",
	4452.000000,
	3235.000000,
	"0e39decf-9444-4ad9-ae65-7b26aaabc1f0");
INSERT INTO DIM_CON
	VALUES ("6769ed38-3052-41ca-89b9-db4b7272d616",
	4488.000000,
	3205.000000,
	"0e39decf-9444-4ad9-ae65-7b26aaabc1f0");
INSERT INTO DIM_CON
	VALUES ("aa96a99d-ef10-462d-bb75-f17da124f522",
	4464.000000,
	3332.000000,
	"0e39decf-9444-4ad9-ae65-7b26aaabc1f0");
INSERT INTO GD_GE
	VALUES ("b530f089-31b8-4ce1-8054-117a808e1f78",
	"e8cb5e90-c496-4f9a-b239-d2ba08082962",
	"482a9122-204e-4e9e-b659-6843e49e3ba5",
	49,
	0,
	'AREF1: create');
INSERT INTO GD_CON
	VALUES ("b530f089-31b8-4ce1-8054-117a808e1f78",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("93c8bf67-7761-4315-8b69-7f43d4fb67cd",
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	0,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"93c8bf67-7761-4315-8b69-7f43d4fb67cd");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"93c8bf67-7761-4315-8b69-7f43d4fb67cd",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("93c8bf67-7761-4315-8b69-7f43d4fb67cd",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("a6d92d01-b91b-42cc-aebd-11049623a82e",
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	2,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"a6d92d01-b91b-42cc-aebd-11049623a82e");
INSERT INTO DIM_GE
	VALUES (4223.000000,
	3179.000000,
	"a6d92d01-b91b-42cc-aebd-11049623a82e",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("a6d92d01-b91b-42cc-aebd-11049623a82e",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("7982da95-cb03-4da0-bf46-29871795ebbe",
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	1,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"7982da95-cb03-4da0-bf46-29871795ebbe");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"7982da95-cb03-4da0-bf46-29871795ebbe",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("7982da95-cb03-4da0-bf46-29871795ebbe",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_LS
	VALUES ("567fd72d-773c-48b0-8b31-468770ac5ed7",
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	"00000000-0000-0000-0000-000000000000",
	"39a3bf57-7b06-48b3-826a-5f6e2826f79b",
	"36d0f05f-e960-4fd4-8a77-98af2000302c");
INSERT INTO DIM_WAY
	VALUES ("39a3bf57-7b06-48b3-826a-5f6e2826f79b",
	4452.000000,
	3235.000000,
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	"00000000-0000-0000-0000-000000000000",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_WAY
	VALUES ("36d0f05f-e960-4fd4-8a77-98af2000302c",
	4452.000000,
	3151.000000,
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	"00000000-0000-0000-0000-000000000000",
	"39a3bf57-7b06-48b3-826a-5f6e2826f79b");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"b530f089-31b8-4ce1-8054-117a808e1f78",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("b530f089-31b8-4ce1-8054-117a808e1f78",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ED
	VALUES ("0c7bf132-1fde-4113-a5c7-0af69a08086c",
	"00000000-0000-0000-0000-000000000000",
	"b530f089-31b8-4ce1-8054-117a808e1f78");
INSERT INTO GD_GE
	VALUES ("61e70799-a6d4-4377-b98e-894bf1b8729b",
	"e8cb5e90-c496-4f9a-b239-d2ba08082962",
	"339b4837-b810-4ca5-a2bb-bff3a5abf8d1",
	41,
	0,
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Accessor Reference::Instance State Machine::Destroying');
INSERT INTO GD_SHP
	VALUES ("61e70799-a6d4-4377-b98e-894bf1b8729b");
INSERT INTO GD_NCS
	VALUES ("61e70799-a6d4-4377-b98e-894bf1b8729b");
INSERT INTO DIM_ND
	VALUES (180.000000,
	84.000000,
	"61e70799-a6d4-4377-b98e-894bf1b8729b");
INSERT INTO DIM_GE
	VALUES (4379.000000,
	3415.000000,
	"61e70799-a6d4-4377-b98e-894bf1b8729b",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("61e70799-a6d4-4377-b98e-894bf1b8729b",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_CON
	VALUES ("79431057-f8d7-4f48-84bb-665e109df444",
	4464.000000,
	3415.000000,
	"61e70799-a6d4-4377-b98e-894bf1b8729b");
INSERT INTO GD_GE
	VALUES ("c3b4f646-bd84-48d6-b160-9ba39df5151f",
	"e8cb5e90-c496-4f9a-b239-d2ba08082962",
	"0f84fcb2-2eae-46d3-a281-5992a9f4cbbe",
	42,
	0,
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Accessor Reference::Instance State Machine::Creating::AREF2: destroy');
INSERT INTO GD_CON
	VALUES ("c3b4f646-bd84-48d6-b160-9ba39df5151f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("901501ed-0a6f-418e-bc58-33a079f3e34f",
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	0,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"901501ed-0a6f-418e-bc58-33a079f3e34f");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"901501ed-0a6f-418e-bc58-33a079f3e34f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("901501ed-0a6f-418e-bc58-33a079f3e34f",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("f6e95c26-b6d3-476c-9c22-5f8d711327c0",
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	2,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"f6e95c26-b6d3-476c-9c22-5f8d711327c0");
INSERT INTO DIM_GE
	VALUES (4486.000000,
	3362.000000,
	"f6e95c26-b6d3-476c-9c22-5f8d711327c0",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("f6e95c26-b6d3-476c-9c22-5f8d711327c0",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("07db85dd-c5b2-4945-9c6c-def194fb33d8",
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	1,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"07db85dd-c5b2-4945-9c6c-def194fb33d8");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"07db85dd-c5b2-4945-9c6c-def194fb33d8",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("07db85dd-c5b2-4945-9c6c-def194fb33d8",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_LS
	VALUES ("909b6a3f-ba38-4711-9b39-f42a1a9a17a1",
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	"00000000-0000-0000-0000-000000000000",
	"3f38203e-8c0c-4e95-a736-2903bda251d9",
	"55801713-c871-4031-a516-14a44fa99d5e");
INSERT INTO DIM_WAY
	VALUES ("3f38203e-8c0c-4e95-a736-2903bda251d9",
	4464.000000,
	3332.000000,
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	"00000000-0000-0000-0000-000000000000",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_WAY
	VALUES ("55801713-c871-4031-a516-14a44fa99d5e",
	4464.000000,
	3415.000000,
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	"00000000-0000-0000-0000-000000000000",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"c3b4f646-bd84-48d6-b160-9ba39df5151f",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("c3b4f646-bd84-48d6-b160-9ba39df5151f",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ED
	VALUES ("aa96a99d-ef10-462d-bb75-f17da124f522",
	"79431057-f8d7-4f48-84bb-665e109df444",
	"c3b4f646-bd84-48d6-b160-9ba39df5151f");
INSERT INTO DIM_DIA
	VALUES ("e8cb5e90-c496-4f9a-b239-d2ba08082962",
	'',
	1.000000,
	0.000000,
	0.000000,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO O_OBJ_PROXY
	VALUES ("11c5a591-fb4f-4b79-a978-4fd5a97364a5",
	'Accessor Reference',
	427,
	'AREF',
	'An accessor reference is the type to which a variable with an accessor as a 
value must conform. In OAL this is an event instance; in C it would be like a 
function pointer.',
	"00000000-0000-0000-0000-000000000000",
	'../Accessor Reference.xtuml');
